@import "@/var.scss";

.jiandaoyun {
  .menu {
    width: 100%;
    flex: 1;
    display: flex;
    z-index: 1;
    .menu-item {
      position: relative;
      padding: 0 20px;
      user-select: none;
      cursor: pointer;
      font-size: 16px;
      display: inline-block;
      color: #444;
      @media screen and (max-width: 1200px) {
        padding: 0 1%;
      }
      &:hover {
        .s-box,
        i {
          color: $green;
        }
      }
      .solution-list {
        height: auto;
        position: absolute;
        top: 60px;
        padding-top: 10px;
        left: 0;
        .solution-list-content {
          padding: 16px;
          width: 216px;
          background: #fff;
          height: 100%;
          border-radius: 5px;
          display: flex;
          flex-direction: column;
          box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
          .solution-list-item {
            width: 184px;
            font-size: 16px;
            height: 48px;
            display: flex;
            align-items: center;
            border-radius: 2px;
            &:hover {
              background: $light-green;
            }
          }
          .solution-info {
            color: #474b51;
            font-size: 14px;
            line-height: 32px;
            width: 144px;
            height: 32px;
            border-radius: 4px;
            padding-left: 12px;
            padding: 0;
            flex: 5;
            text-align: left;
            font-size: 16px;
            color: #283a4c;
          }
          .has-tip {
            display: inline-block;
            position: relative;
            .tip {
              width: 18px;
              position: absolute;
              top: 6px;
              right: -22px;
              margin: 0;
              height: auto;
            }
          }
        }
      }
      &.jjfa .solution-list-content {
        width: 416px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        .solution-list-item .icon {
          background: url(https://blog-assets.jiandaoyun.com/index/header/solution_icon.png)
            no-repeat;
          background-size: 800%;
          display: inline-block;
          width: 28px;
          height: 28px;
          margin-right: 4px;
        }
        .solution-more-btn {
          width: 100%;
          height: 32px;
          background: #f4f6f9;
          display: inline-block;
          font-size: 16px;
          color: #1f2d3d;
          text-align: center;
          line-height: 32px;
          border-radius: 4px;
          margin-top: 5px;
          .tip {
            width: 25px;
            vertical-align: text-top;
            margin-left: 3px;
          }
        }
      }
      &.material-center .solution-list-item .icon {
        background: url(https://blog-assets.jiandaoyun.com/index/header/material_icon.png)
          no-repeat;
        background-size: 100%;
        display: inline-block;
        width: 28px;
        height: 28px;
        margin-right: 4px;
      }
      &.zero-code .solution-list-item .icon {
        background: url(https://blog-assets.jiandaoyun.com/index/header/code_icon.png)
          0 -48px no-repeat;
        background-size: 100%;
        display: inline-block;
        width: 28px;
        height: 28px;
        margin-right: 4px;
      }
      &.product-function .solution-list-content {
        flex-direction: row;
        width: auto;
        padding: 0;
        .solution-item {
          width: 184px;
          margin: 28px 20px;
          color: #5e6d82;
          padding: 0;
          .solution-item-tit {
            position: relative;
            font-size: 16px;
            height: 34px;
            line-height: 22px;
            font-weight: 400;
            color: #5e6d82;
            border-bottom: 1px solid #e9e9e9;
            margin-bottom: 9px;
          }
          .icon {
            background: url(https://blog-assets.jiandaoyun.com/index/header/product_icon.png)
              0 -1px no-repeat;
            background-size: 950px;
            display: inline-block;
            width: 28px;
            height: 28px;
            margin-right: 4px;
          }
        }
      }
    }
  }
}
